package com.letfox.statistical.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.statistical.dao.GeoStatisticDao;
import com.letfox.statistical.model.UDMGeoStatistic;
import com.letfox.statistical.service.GeoStatisticService;

@Service
public class GeoStatisticServiceImpl implements GeoStatisticService {


	@Autowired
	private GeoStatisticDao geoStatisticDao;

	public int save(UDMGeoStatistic geoStatistic) {
		
		return geoStatisticDao.insert(geoStatistic);
	}

	public int update(UDMGeoStatistic geoStatistic) {
		
		return geoStatisticDao.update(geoStatistic);
	}

	public int deleteById(Long id) {
		
		return 0;
	}

	public int deleteByIds(String ids) {
		
		return 0;
	}

	public UDMGeoStatistic getById(Long id) {
		
		return null;
	}

	public List<UDMGeoStatistic> getList(Map<String,Object> map) {
		
		return geoStatisticDao.getList(map);
	}
	

}
